import express from 'express'
const router = express.Router();
import TradingController from './../../controller/trading/TradingController.js'

router.use('/add', TradingController.insert);
router.use('/del', TradingController.delFoods);
router.use('/listall', TradingController.findListAll);
router.use('/listpage', TradingController.findListPage);
router.use('/edit', TradingController.update);
router.use('/sell', TradingController.sellFoods);

module.exports = router;